export type GetAppListRequestData = {
  /** 当前页码 */
  page: number
  /** 查询条数 */
  size: number
}

export type AppListData = {
  content: App[];
  pageable: Pageable;
  last: boolean;
  totalPages: number;
  totalElements: number;
  size: number;
  number: number;
  sort: Sort;
  numberOfElements: number;
  first: boolean;
  empty: boolean;
};

export type App = {
  id: number
  appId: string
  logo: string
  appName: string
  appDesc: string
  appType: string
  isBan: number
}

export type UpdateAppRequestData = {
  id: number
  appId: string
  logo: string
  appName: string
  appDesc: string
  appType: string
  isBan: number
}

export type GetAppListResponseData = ApiResponseData<AppListData>
